<%@page import="databank.DataBank"%>
<%@page import="databank.DataBankVo"%>
<%@page import="java.util.Enumeration"%>
<%@page import="com.oreilly.servlet.multipart.DefaultFileRenamePolicy"%>
<%@page import="com.oreilly.servlet.MultipartRequest"%>
<%@ page language="java" contentType="text/html; charset=UTF-8"
    pageEncoding="UTF-8"%>
<!DOCTYPE html PUBLIC>
<html>
<head>
<meta http-equiv="Content-Type" content="text/html; charset=UTF-8">
<title>Insert title here</title>
<script>
function getId(id){return document.getElementById(id)}
function init(){
	getId('btnlist').onclick=function(){
		location.href="MyHome.jsp?inc_content=./databank/list.jsp"	
	}
	
}
</script>
</head>
<body>
<jsp:useBean id="bankVo" class="databank.DataBankVo" scope="page"/>
<%
bankVo.setRequest(request);
DataBank bank = new DataBank();
bank.setVo(bankVo);
bank.insert();
%>

<div id='databank_body'>
<h1>파일이 성공적으로 업로드 되었습니다</h1>
<input type='button' value='목록' id='btnlist'>
</div>
<script>init();</script>
</body>
</html>